<%--
  Created by bothin
  At 2019/12/17 22:56
  Description: 
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div style="margin: 25px;width: 400px;">
    <h2 style="text-align: center;margin-bottom: 10px;" >
        <img src="${contactDetailDTO.product.productIcon}" alt="商品图片" style="width: 70px;height: 70px;"/>
        <span style="margin-left: 15px;line-height: 70px;">${contactDetailDTO.product.productName}剩余${contactDetailDTO.printStatus}件需发货</span>
    </h2>
    <form class="layui-form" action="${pageContext.request.contextPath}/contact/productForm?contactId=${contactDetailDTO.contactId}&productId=${contactDetailDTO.productId}" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">发货数量 *</label>
            <div class="layui-input-inline">
                <input type="number" name="count" placeholder="请输入数量" required
                       min="1" max="${contactDetailDTO.printStatus}" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block" style="margin-left: 190px;">
                <button class="layui-btn layui-btn-sm" type="submit">提交</button>
            </div>
        </div>
    </form>
</div>

